package ${package}.model.dto;

import com.yvon.maple.cloud.pojo.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
<#if hasBigDecimal>
import java.math.BigDecimal;
</#if>

/**
 * ${tableRemark} 响应参数
 *
 * @author : ${author}
 * @since : ${date}
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("${tableRemark}响应参数")
public class ${className}DTO extends BaseDTO implements Serializable {
<#if columns??>
    <#list columns as column>
        <#if column.columnName == 'id' || column.columnName == 'create_by' || column.columnName == 'create_date' || column.columnName == 'update_by' || column.columnName == 'update_date'>
        <#else>

    /**
     *<#if column.remark != ''>${column.remark}<#else>${column.changeColumnName}</#if>
     */
    @ApiModelProperty(value = "${column.remark}")
    private ${column.columnType} ${column.changeColumnName};
        </#if>
</#list>
</#if>
}